package com.jeesite.modules.st.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

import java.math.BigDecimal;
import java.util.Date;

@Table(name = "t_worklist", alias = "a"
)
public class StWorkList extends DataEntity<StWorkList> {
    private String formulaNo;
    private String workCode;
    private String siloNo;
    private String matId;//物料编码
    private String matName;//物料名称

    private BigDecimal setValue;//设定值
    private BigDecimal trueValue;//实际值
    private Date workTime;//生产日期
    private String feedName;
    private String feedNumber;

    private BigDecimal tareValue;

    private Date workTimeStart;
    private Date workTimeEnd;

    public Date getWorkTimeStart() {
        return workTimeStart;
    }

    public void setWorkTimeStart(Date workTimeStart) {
        this.workTimeStart = workTimeStart;
    }

    public Date getWorkTimeEnd() {
        return workTimeEnd;
    }

    public void setWorkTimeEnd(Date workTimeEnd) {
        this.workTimeEnd = workTimeEnd;
    }

    public String getFormulaNo() {
        return formulaNo;
    }

    public void setFormulaNo(String formulaNo) {
        this.formulaNo = formulaNo;
    }

    public String getWorkCode() {
        return workCode;
    }

    public void setWorkCode(String workCode) {
        this.workCode = workCode;
    }

    public String getSiloNo() {
        return siloNo;
    }

    public void setSiloNo(String siloNo) {
        this.siloNo = siloNo;
    }

    public String getMatId() {
        return matId;
    }

    public void setMatId(String matId) {
        this.matId = matId;
    }

    public String getMatName() {
        return matName;
    }

    public void setMatName(String matName) {
        this.matName = matName;
    }

    public BigDecimal getSetValue() {
        return setValue;
    }

    public void setSetValue(BigDecimal setValue) {
        this.setValue = setValue;
    }

    public BigDecimal getTrueValue() {
        return trueValue;
    }

    public void setTrueValue(BigDecimal trueValue) {
        this.trueValue = trueValue;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getWorkTime() {
        return workTime;
    }

    public void setWorkTime(Date workTime) {
        this.workTime = workTime;
    }

    public String getFeedName() {
        return feedName;
    }

    public void setFeedName(String feedName) {
        this.feedName = feedName;
    }

    public String getFeedNumber() {
        return feedNumber;
    }

    public void setFeedNumber(String feedNumber) {
        this.feedNumber = feedNumber;
    }

    public BigDecimal getTareValue() {
        return tareValue;
    }

    public void setTareValue(BigDecimal tareValue) {
        this.tareValue = tareValue;
    }
}
